package com.tuantuan.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.tuantuan.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 经营许可证-代理人
 * </p>
 *
 * @author: 王钦民
 * @date : 2020-10-29
 * @description: 仰天大笑出门去，我辈岂是蓬蒿人
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("li_agent")
@ApiModel(value="LiAgentDO对象", description="经营许可证-代理人")
public class LiAgentDO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "许可证申办表，主键唯一id")
    @TableField("licence_id")
    private Integer licenceId;

    @ApiModelProperty(value = "代理人-代理人")
    @TableField("agent")
    private String agent;

    @ApiModelProperty(value = "代理人-委托人")
    @TableField("client")
    private String client;

    @ApiModelProperty(value = "代理人-工作单位")
    @TableField("work_unit")
    private String workUnit;

    @ApiModelProperty(value = "代理人-职务（1: 2:）")
    @TableField("post")
    private Integer post;

    @ApiModelProperty(value = "代理人-证件类型(1:身份证 2:)")
    @TableField("document_type")
    private Integer documentType;

    @ApiModelProperty(value = "代理人-证件号码")
    @TableField("identification_number")
    private String identificationNumber;

    @ApiModelProperty(value = "代理人-固定号码")
    @TableField("fixed_number")
    private String fixedNumber;

    @ApiModelProperty(value = "代理人-移动电话")
    @TableField("mobile_phone")
    private String mobilePhone;

    @ApiModelProperty(value = "代为提出、变更、放弃行政许可申请")
    @TableField("entrust_type_one")
    private Boolean entrustTypeOne;

    @ApiModelProperty(value = "接受询问，行使陈述申辩权利")
    @TableField("entrust_type_two")
    private Boolean entrustTypeTwo;

    @ApiModelProperty(value = "要求和参数听证")
    @TableField("entrust_type_three")
    private Boolean entrustTypeThree;

    @ApiModelProperty(value = "提交和接收法律文书")
    @TableField("entrust_type_four")
    private Boolean entrustTypeFour;

    @ApiModelProperty(value = "截止委托期限（1994-10-07 为无限期)）")
    @TableField("term_of_procuration")
    private LocalDateTime termOfProcuration;


}
